<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: PlayerError</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Class: PlayerError</h1>

    




<section>

<header>
    
        <h2><span class="attribs"><span class="type-signature"></span></span>PlayerError<span class="signature">(string, ErrorCode<span class="signature-attributes">opt</span>, Error<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    

    
    <h4 class="name" id="PlayerError"><span class="type-signature"></span>new PlayerError<span class="signature">(string, ErrorCode<span class="signature-attributes">opt</span>, Error<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
    

    



<div class="description">
    <p>Class used to create &quot;setupError&quot; and &quot;error&quot; event instances.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>string</code></td>
            

            <td class="type">
            
                
<span class="param-type">message</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last"><p>The error message.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ErrorCode</code></td>
            

            <td class="type">
            
                
<span class="param-type">code</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last"><p>The error code.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Error</code></td>
            

            <td class="type">
            
                
<span class="param-type">sourceError</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last"><p>The lower level error, caught by the player, which resulted in this error.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


















    
    </div>

    

    

    

    

    

    

    

    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Api.html">Api</a></li><li><a href="BackgroundMedia.html">BackgroundMedia</a></li><li><a href="InstreamAdapter.html">InstreamAdapter</a></li><li><a href="PlayerError.html">PlayerError</a></li><li><a href="Timer.html">Timer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#ERROR_LOADING_PLAYLIST">ERROR_LOADING_PLAYLIST</a></li><li><a href="global.html#ERROR_LOADING_PLAYLIST_ITEM">ERROR_LOADING_PLAYLIST_ITEM</a></li><li><a href="global.html#ERROR_LOADING_PROVIDER">ERROR_LOADING_PROVIDER</a></li><li><a href="global.html#FLASH_ERROR">FLASH_ERROR</a></li><li><a href="global.html#FLASH_MEDIA_ERROR">FLASH_MEDIA_ERROR</a></li><li><a href="global.html#FLASH_SETUP_ERROR">FLASH_SETUP_ERROR</a></li><li><a href="global.html#HTML5_BASE_MEDIA_ERROR">HTML5_BASE_MEDIA_ERROR</a></li><li><a href="global.html#HTML5_ERROR_LIVE_STREAM_DOWN_OR_ENDED">HTML5_ERROR_LIVE_STREAM_DOWN_OR_ENDED</a></li><li><a href="global.html#HTML5_NETWORK_ERROR">HTML5_NETWORK_ERROR</a></li><li><a href="global.html#jwplayer">jwplayer</a></li><li><a href="global.html#load">load</a></li><li><a href="global.html#SETUP_ERROR_LICENSE_EXPIRED">SETUP_ERROR_LICENSE_EXPIRED</a></li><li><a href="global.html#SETUP_ERROR_LICENSE_INVALID">SETUP_ERROR_LICENSE_INVALID</a></li><li><a href="global.html#SETUP_ERROR_LICENSE_MISSING">SETUP_ERROR_LICENSE_MISSING</a></li><li><a href="global.html#SETUP_ERROR_LOADING_CORE_JS">SETUP_ERROR_LOADING_CORE_JS</a></li><li><a href="global.html#SETUP_ERROR_LOADING_PLAYLIST">SETUP_ERROR_LOADING_PLAYLIST</a></li><li><a href="global.html#SETUP_ERROR_LOADING_PROVIDER">SETUP_ERROR_LOADING_PROVIDER</a></li><li><a href="global.html#SETUP_ERROR_TIMEOUT">SETUP_ERROR_TIMEOUT</a></li><li><a href="global.html#SETUP_ERROR_UNKNOWN">SETUP_ERROR_UNKNOWN</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>